{% extends "base.html" %}

{% block conteudo %}
{% if step == 0 %}
<form action="/private/evento/cadastrar_evento" method="post" onsubmit="return checarCampos();">
    {% csrf_token %}
    <input type="hidden" name="step" value="1"/>
    
    <table>
        <tr>
            <td><label for="semestre">Semestre:</label></td>
            <td><input type="text" name="semestre" value="{{ semestre }}" readonly="readonly" /></td>
        </tr>
        <tr>
            <td><label for="nome">Nome do evento:</label></td>
            <td><input type="text" name="nome" value="{{ nome }}" /></td>
        </tr>
        <tr>
            <td><label for="descricao">Descreva o evento:</label></td>
            <td>
                <textarea name="descricao"></textarea>
            </td>
        </tr>
        <tr>
            <td>Responsável: </td>
            <td><input type="text" name="responsavel" value="{{ request.user }}" readonly="readonly" /></td>
        </tr>
        <tr>
            <td></td>
            <td><input type="submit" value="Cadastrar"/></td>
        </tr>
    </table>
</form>
{% endif %}

{% endblock %}

